package com.koron.order.change.bean.convertor;

import com.koron.order.change.bean.dto.OrderChangeDto;
import com.koron.order.change.bean.po.OrderChangePo;
import com.koron.order.change.bean.vo.OrderChangeDetailVo;
import com.koron.order.change.bean.vo.OrderChangeVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface OrderChangeConvertor {

    OrderChangePo dtoToPo(OrderChangeDto orderChangeDto);

    OrderChangeDetailVo poToDetailVo(OrderChangePo orderChangePo);

    OrderChangeDetailVo voToDetailVo(OrderChangeVo orderChangeVo);
}
